home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1994 November / macformat-018.iso / Utility Spectacular / Text / Digest-Browser-1.6 Folder / Views / CDisplayIndex.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-09-16  |  768 b   |  36 lines  |  [TEXT/KAHL]

  1. /****
  2.  * CDisplayIndex.h
  3.  *
  4.  *    A text edit pane for a tiny editor.
  5.  *
  6.  ****/
  7.  
  8.  
  9. #define _H_CDisplayIndex
  10.  
  11. #include "CSelectLine.h"
  12. #include "Browser.h"
  13.  
  14. struct CDisplayIndex : public CSelectLine {
  15. protected:
  16.     BrowserDirPtr    itsDir;
  17.     BrowserItemPtr    itsSelItem;
  18. public:
  19.                                 /** Contruction/Destruction **/
  20.     void    IDisplayIndex(CView *anEnclosure, CBureaucrat *aSupervisor,
  21.                 short vLoc, short vHeight, BrowserDirPtr theDir, long index_displayed);
  22.  
  23.  
  24.     void    SetIndex(long index_displayed);
  25.     void    Dispose(void);
  26.  
  27.     void    SelectionChanged(void);
  28.     void    SetSelectedLine( long line, Boolean redraw);
  29.     void    TagItem(void);
  30.     void    TagLine(long line, Boolean tag, Boolean setSelection, Boolean redraw);
  31.  
  32.     BrowserDirPtr    GetDirectory(void);
  33.     BrowserItemPtr    GetSelectedItem(void);
  34.  
  35. };
  36.